﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="SBACN.WebSite.Search" %>

<%@ Register Src="~/UC/ClientPager.ascx" TagName="Pager" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<div id="wrapper" style="min-height: 443px; ">
			
				<div id="tolpic" style="width:500px;" >
					<img src="images/search.png" width="32" height="32" />搜索结果</div>
				<div id="maindisplay">
					<asp:Repeater runat="server" ID="list" >
					<ItemTemplate>
					<%# ColorF( Eval("Title").ToString()) %>
					<a target="_blank" href="<%# Url(Eval("Code").ToString(),Eval("Id").ToString()) %>">[阅读详细资料]</a>
					<span >[<%# Convert.ToDateTime(Eval("CreateDate ")).ToString("yyyy-MM-dd")%>]</span>
					<br />
					</ItemTemplate>
					</asp:Repeater>
				</div>
				<div runat="server" id="Msg" visible ="false"> 
				&nbsp;&nbsp;&nbsp;&nbsp;<b>找不到和您的查询 "<%= Q%>" 相符的内容或信息。</b><br /><br />
				&nbsp;&nbsp;&nbsp;&nbsp;建议：<br />
				&nbsp;&nbsp;&nbsp;&nbsp;•&nbsp;请检查输入字词有无错误。<br />
				&nbsp;&nbsp;&nbsp;&nbsp;•&nbsp;请尝试其他的查询词。<br />
				&nbsp;&nbsp;&nbsp;&nbsp;•&nbsp;请改用较常见的字词。
				</div>
				<div id="page">
					<uc1:Pager ID="Pager1" OnSelectedPageIndexChanged="BindSelectedPageIndexChanged"
						runat="server" PageSize="15" />
				</div>
	</div>
	<!--主内容区-->
</asp:Content>
